package com.dev.security.manager.service;

import java.util.List;
import java.util.Map;

import org.springframework.data.domain.Page;

import com.dev.security.manager.beans.Permission;

/**
 * @author 潜行的青衣
 * @see
 */
public interface IPermissionService {

	public Page<Permission> findPager(String app_id, int page, int size);
	
	public boolean save(Permission perm);
	
	public void remove(String[] ids);
	
	public List<Permission> findPermissions(List<String> role_ids, String app_id);
	
	public Map<String, Boolean> findPermissionMap(List<String> role_ids, String app_id);
	
	public Map<String, Boolean> findPermissionMap(String app_id);
	
}
